namespace net_work.Common.Result;

public enum AjaxCode
{
    /// <summary>
    /// 操作成功
    /// </summary>
    Success = 200,

    /// <summary>
    /// 操作失败
    /// </summary>
    Error = 500,

    /// <summary>
    /// 资源不存在
    /// </summary>
    NotFound = 404,

    /// <summary>
    /// 未授权
    /// </summary>
    Unauthorized = 401,

    /// <summary>
    /// 禁止访问
    /// </summary>
    Forbidden = 403,

    /// <summary>
    /// 请求参数错误
    /// </summary>
    BadRequest = 400
}